package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.SpendingReductionActivities;
import com.example.mall.dto.SpendingReductionActivitiesDto;
import com.example.mall.query.PageDTO;
import com.example.mall.query.SpendingReductionActivitiesQuery;

import java.util.List;


/**
 * <p>
 * 满减活动表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-06
 */
public interface ISpendingReductionActivitiesService extends IService<SpendingReductionActivities> {

    // 分页查询满减活动表信息
    PageDTO<SpendingReductionActivitiesDto> queryPage(SpendingReductionActivitiesQuery spendingReductionActivitiesQuery);

    // 新增满减活动表
    void insert(SpendingReductionActivitiesDto spendingReductionActivitiesDto);
    // 修改满减活动表信息
    void update(SpendingReductionActivitiesDto spendingReductionActivitiesDto);
    // 删除满减活动表信息
    void delete(Long activityId);
    // 批量删除满减活动表信息
    void deleteBatch(List<Long> activityIds);
    // 查询全部满减活动表信息
    List<SpendingReductionActivities> querySpendingReductionActivitiesList();
    // 根据id查询满减活动表信息
    SpendingReductionActivities querySpendingReductionActivitiesById(Long activityId);
}
